<script setup>
  import { ref } from 'vue'
  import zhCN from 'ant-design-vue/es/locale/zh_CN';
  import { RouterView } from 'vue-router'

  const themeConfig = {
    "token": {
      "colorPrimary": "#00f6ff",
      "colorBgContainer": "transparent",
      "colorFillQuaternary": "transparent",
      "colorTextBase": "#ffffff",
      "colorInfoText": "#17ffc7",
      "colorInfo": "#00f6ff",
      "colorBgLayout": "#7b7b7b",
      "colorBgElevated": "rgba(0, 247, 255, 0.3)"
    }
  }

  const locale = ref(zhCN)
</script>

<template>
  <a-config-provider :theme="themeConfig" :locale="locale">
    <RouterView />
  </a-config-provider>
</template>